package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邮箱模板对象 email_template
 * 
 * @author ruoyi
 * @date 2023-01-05
 */
public class EmailTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 邮箱标题 */
    @Excel(name = "邮箱标题")
    private String title;

    /** 邮箱内容 */
    @Excel(name = "邮箱内容")
    private String textContent;

    /** 邮箱类型 */
    @Excel(name = "邮箱类型")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTextContent(String textContent) 
    {
        this.textContent = textContent;
    }

    public String getTextContent() 
    {
        return textContent;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("textContent", getTextContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("type", getType())
            .toString();
    }
}
